﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace PhoneBilling.Models
{
    public class TraiffDetailModel
    {
        public TraiffDetailModel()
        {
        }

        public bool IsNew { get; set; }

        public string TraiffID { get; set; }

        [Required(ErrorMessage = "请输入区号.")]
        [Display(Name = "区号：")]
        public string 区号 { get; set; }

        [Required(ErrorMessage = "请输入地名.")]
        [Display(Name = "地名：")]
        public string 地名 { get; set; }

        [Required(ErrorMessage = "请选择话类.")]
        [Display(Name = "话类：")]
        public string 话类 { get; set; }

        public string 话类ID { get; set; }

        [Required(ErrorMessage = "请输入基本费.")]
        [Display(Name = "基本费：")]
        public float 基本费 { get; set; }

        [Required(ErrorMessage = "请输入附加费.")]
        [Display(Name = "附加费：")]
        public float 附加费 { get; set; }

        [Required(ErrorMessage = "请输入服务费.")]
        [Display(Name = "服务费：")]
        public float 服务费 { get; set; }

        [Required(ErrorMessage = "请输入基本费计次秒.")]
        [Display(Name = "基本费计次秒：")]
        public int 基本费计次秒 { get; set; }

        [Required(ErrorMessage = "请输入服务费计次秒.")]
        [Display(Name = "服务费计次秒：")]
        public int 服务费计次秒 { get; set; }

        [Display(Name = "分段计费方法：")]
        public string 分段计费方法 { get; set; }

        public string 分段计费方法ID { get; set; }

        public List<UIAreaType> AreaTypeList { get; set; }

        public List<UISlice> SliceList { get; set; }

     
    }

    
}

